package org.jeecgframework.web.system.pojo.base;

import org.hibernate.annotations.GenericGenerator;
import org.jeecgframework.poi.excel.annotation.Excel;

import javax.persistence.*;
import java.util.Date;
import java.util.List;

/**
 * Created by red on 2016/10/25.
 */
@Entity
@Table(name = "v_appoint_task")
public class VappointTask{

    private String taskId;
    private String instId;
    private String defId;
    private String assignee;
    private String nodeName;
    private String handleStatus;
    private Date endTime;
    private String sn;
    private String busId;

    /**主键*/
    private java.lang.String id;

    /**巡检预约ID*/
    private String InAppId;

    /**联系人*/
    @Excel(name="联系人")
    private java.lang.String contactName;
    /**电话*/
    @Excel(name="电话")
    private java.lang.String phone;
    /**邮箱*/
    @Excel(name="邮箱")
    private java.lang.String mail;
    /**期望巡检时间*/
    @Excel(name="期望巡检时间")
    private java.util.Date expectDate;
    /**说明*/
    @Excel(name="说明")
    private java.lang.String content;
    /**创建人名称*/
    private java.lang.String createName;
    /**创建人登录名称*/
    private java.lang.String createBy;
    /**创建日期*/
    private java.util.Date createDate;
    /**更新人名称*/
    private java.lang.String updateName;
    /**更新人登录名称*/
    private java.lang.String updateBy;
    /**更新日期*/
    private java.util.Date updateDate;
    /**状态 0.草稿 1.审批中 2.已完成 3.已取消*/
    private String status;

    /**影院关联*/
//    private ZyCinemaEntity cinema;
    private String cinemaName;
    /**设备关联*/
    private List<CbsInspectionAppointmentEsEntity> esList;

    /**
     *方法: 取得java.lang.String
     *@return: java.lang.String  主键
     */
    @Id
    @GeneratedValue(generator = "paymentableGenerator")
    @GenericGenerator(name = "paymentableGenerator", strategy = "uuid")
    @Column(name ="ID",nullable=false,length=36)
    public java.lang.String getId(){
        return this.id;
    }

    /**
     *方法: 设置java.lang.String
     *@param: java.lang.String  主键
     */
    public void setId(java.lang.String id){
        this.id = id;
    }

    /**
     *方法: 取得java.lang.String
     *@return: java.lang.String  联系人
     */
    @Column(name ="CONTACT_NAME",nullable=true,length=32)
    public java.lang.String getContactName(){
        return this.contactName;
    }

    /**
     *方法: 设置java.lang.String
     *@param: java.lang.String  联系人
     */
    public void setContactName(java.lang.String contactName){
        this.contactName = contactName;
    }
    /**
     *方法: 取得java.lang.String
     *@return: java.lang.String  电话
     */
    @Column(name ="PHONE",nullable=true,length=32)
    public java.lang.String getPhone(){
        return this.phone;
    }

    /**
     *方法: 设置java.lang.String
     *@param: java.lang.String  电话
     */
    public void setPhone(java.lang.String phone){
        this.phone = phone;
    }
    /**
     *方法: 取得java.lang.String
     *@return: java.lang.String  邮箱
     */
    @Column(name ="MAIL",nullable=true,length=80)
    public java.lang.String getMail(){
        return this.mail;
    }

    /**
     *方法: 设置java.lang.String
     *@param: java.lang.String  邮箱
     */
    public void setMail(java.lang.String mail){
        this.mail = mail;
    }
    /**
     *方法: 取得java.util.Date
     *@return: java.util.Date  期望巡检时间
     */
    @Column(name ="EXPECT_DATE",nullable=true,length=32)
    public java.util.Date getExpectDate(){
        return this.expectDate;
    }

    /**
     *方法: 设置java.util.Date
     *@param: java.util.Date  期望巡检时间
     */
    public void setExpectDate(java.util.Date expectDate){
        this.expectDate = expectDate;
    }
    /**
     *方法: 取得java.lang.String
     *@return: java.lang.String  说明
     */
    @Column(name ="CONTENT",nullable=true,length=32)
    public java.lang.String getContent(){
        return this.content;
    }

    /**
     *方法: 设置java.lang.String
     *@param: java.lang.String  说明
     */
    public void setContent(java.lang.String content){
        this.content = content;
    }
    /**
     *方法: 取得java.lang.String
     *@return: java.lang.String  创建人名称
     */
    @Column(name ="CREATE_NAME",nullable=true,length=50)
    public java.lang.String getCreateName(){
        return this.createName;
    }

    /**
     *方法: 设置java.lang.String
     *@param: java.lang.String  创建人名称
     */
    public void setCreateName(java.lang.String createName){
        this.createName = createName;
    }
    /**
     *方法: 取得java.lang.String
     *@return: java.lang.String  创建人登录名称
     */
    @Column(name ="CREATE_BY",nullable=true,length=50)
    public java.lang.String getCreateBy(){
        return this.createBy;
    }

    /**
     *方法: 设置java.lang.String
     *@param: java.lang.String  创建人登录名称
     */
    public void setCreateBy(java.lang.String createBy){
        this.createBy = createBy;
    }
    /**
     *方法: 取得java.util.Date
     *@return: java.util.Date  创建日期
     */
    @Column(name ="CREATE_DATE",nullable=true,length=20)
    public java.util.Date getCreateDate(){
        return this.createDate;
    }

    /**
     *方法: 设置java.util.Date
     *@param: java.util.Date  创建日期
     */
    public void setCreateDate(java.util.Date createDate){
        this.createDate = createDate;
    }
    /**
     *方法: 取得java.lang.String
     *@return: java.lang.String  更新人名称
     */
    @Column(name ="UPDATE_NAME",nullable=true,length=50)
    public java.lang.String getUpdateName(){
        return this.updateName;
    }

    /**
     *方法: 设置java.lang.String
     *@param: java.lang.String  更新人名称
     */
    public void setUpdateName(java.lang.String updateName){
        this.updateName = updateName;
    }
    /**
     *方法: 取得java.lang.String
     *@return: java.lang.String  更新人登录名称
     */
    @Column(name ="UPDATE_BY",nullable=true,length=50)
    public java.lang.String getUpdateBy(){
        return this.updateBy;
    }

    /**
     *方法: 设置java.lang.String
     *@param: java.lang.String  更新人登录名称
     */
    public void setUpdateBy(java.lang.String updateBy){
        this.updateBy = updateBy;
    }
    /**
     *方法: 取得java.util.Date
     *@return: java.util.Date  更新日期
     */
    @Column(name ="UPDATE_DATE",nullable=true,length=20)
    public java.util.Date getUpdateDate(){
        return this.updateDate;
    }

    /**
     *方法: 设置java.util.Date
     *@param: java.util.Date  更新日期
     */
    public void setUpdateDate(java.util.Date updateDate){
        this.updateDate = updateDate;
    }


    @Column(name = "status")
    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    @Column(name="in_app_id")
    public String getInAppId() {
        return InAppId;
    }

    public void setInAppId(String inAppId) {
        InAppId = inAppId;
    }

    @Column(name = "task_id")
    public String getTaskId() {
        return taskId;
    }

    public void setTaskId(String taskId) {
        this.taskId = taskId;
    }


    @Column(name = "def_id")
    public String getDefId() {
        return defId;
    }

    public void setDefId(String defId) {
        this.defId = defId;
    }

    @Column(name = "assignee")
    public String getAssignee() {
        return assignee;
    }

    public void setAssignee(String assignee) {
        this.assignee = assignee;
    }

    @Column(name = "node_name")
    public String getNodeName() {
        return nodeName;
    }

    public void setNodeName(String nodeName) {
        this.nodeName = nodeName;
    }

    @Column(name="inst_id")
    public String getInstId() {
        return instId;
    }

    public void setInstId(String instId) {
        this.instId = instId;
    }

    @Column(name = "handle_status")
    public String getHandleStatus() {
        return handleStatus;
    }

    public void setHandleStatus(String handleStatus) {
        this.handleStatus = handleStatus;
    }

    @Column(name = "end_time")
    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    @Column(name = "sn")
    public String getSn() {
        return sn;
    }

    public void setSn(String sn) {
        this.sn = sn;
    }

    @Column(name = "bus_id")
    public String getBusId() {
        return busId;
    }

    public void setBusId(String busId) {
        this.busId = busId;
    }

    @Column(name = "cinema_name")
    public String getCinemaName() {
        return cinemaName;
    }

    public void setCinemaName(String cinemaName) {
        this.cinemaName = cinemaName;
    }
}
